<!--表格行-->
<template>
  <el-table-column :sortable="sortable" :prop="property" :label="label" :width="width" class-name="no-padding">
    <template slot-scope="{row, column, $index}">
      <sea-dic-progress :value="row[property]" :options="options"></sea-dic-progress>
    </template>
  </el-table-column>
</template>

<script>
/* eslint-disable */
import SeaDicProgress from "@/widget/text/sea-dic-progress";

/**
 * 表格行级进度条
 */
export default {
    name: "SeaColProgress"
    , components: {SeaDicProgress}
    , props: {
        // 类型，默认输入框
        type: {type: String, default: 'def'}
        // 宽度
        , width: {type: [Number, String], default: undefined}
        // 字段名
        , property: String
        // 列名
        , label: String
        // 列名
        , sortable: {type: [Boolean, String], default: false}
        // 数据变化事件
        , change: {type: Function}
        // 数据字典
        , options: {type: Array, default: undefined}
    }
}
</script>
